<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center skillReview_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub skillReview_fd0_0'>
					<view class='flex flex-wrap align-center skillReview_fd0_0_c0'>
					</view>
					<view class='flex flex-wrap align-stretch justify-center'>
						<text class='skillReview_fd0_0_c1_c0'>审核</text>
					</view>
					<view class='flex flex-wrap align-center justify-end skillReview_fd0_0_c0'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---提交成功flex布局开始-->
			<view class="flex flex-direction flex-wrap align-center benben-flex-layout skillReview_flex_1"
				v-if=" statusData.status=='1'">
				<image class='skillReview_fd1_0' mode="aspectFit" :src='STATIC_URL+"95.png"'></image>
				<text class='skillReview_fd1_1'>您的修改店铺申请已提交成功</text>
				<text class='skillReview_fd1_2'>您的申请已提交
					3-7个工作日为您反馈审核结果</text>
				<button class='skillReview_fd1_3' @tap.stop="handleJumpDiy" data-type="switchTab"
					:data-url="`/pages/tabBar/mys/mys`">返回我的</button>
			</view>

			<!---提交成功flex布局结束-->
			<!---审核失败flex布局开始-->
			<view class="flex flex-direction flex-wrap align-center benben-flex-layout skillReview_flex_2"
				v-if=" statusData.status=='3'">
				<image class='skillReview_fd2_0' mode="aspectFit" :src='STATIC_URL+"85.png"'></image>
				<text class='skillReview_fd2_1'>您的修改店铺申请审核失败</text>
				<view class='skillReview_fd2_2'>
					<text class='skillReview_fd2_2_c0'>失败原因：</text>
					<text class='skillReview_fd2_2_c0'>{{statusData.reson}}</text>
				</view>
				<button class='skillReview_fd2_3' @tap.stop="handleJumpDiy" data-type="navigateTo"
					:data-url="`/pages/login/storeReview/storeReview?id=${statusData.usermerchant_id}`">重新提交</button>
				<button class='skillReview_fd2_30089' @tap.stop="handleJumpDiy" data-type="switchTab"
					:data-url="`/pages/tabBar/mys/mys`">返回我的</button>
			</view>

			<!---审核失败flex布局结束-->


		</view>
	</view>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'

	export default {
		components: {},


		data() {
			return {
				"statusData": {
					"aid": "",
					"service_status": "",
					"status": "",
					"service_reson": "",
					"city_reson": "",
					"servicecategory_id": "",
					"chinaarea_id": ""
				}
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},

		},
		watch: {},
		onLoad(options) {

		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {
			this.getStatusFunc()
		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//获取审核状态
			async getStatusFunc() {
				//请求方法
				//数据验证
				let datastatusData = await this.$api.get(global.apiUrls.post6654558cd6ed8, {

				});

				if (datastatusData.data.code != 1) {
					this.$message.info(datastatusData.data.msg);
					return
				}
				let infostatusData = datastatusData.data;
				this.statusData = infostatusData.data
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #fff;
		background-size: 100% auto;
	}

	.skillReview_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.skillReview_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333;
		line-height: 88rpx;
	}

	.skillReview_fd0_0_c0 {
		width: 120rpx;
	}

	.skillReview_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.skillReview_flex_1 {
		padding: 193rpx 39rpx 0rpx 39rpx;
	}

	.skillReview_fd1_3 {
		background: #3090FF;
		border-radius: 36rpx 36rpx 36rpx 36rpx;
		font-size: 28rpx;
		color: #FFF;
		width: 320rpx;
		height: 72rpx;
		line-height: 72rpx;
	}

	.skillReview_fd1_2 {
		line-height: 43rpx;
		font-size: 28rpx;
		font-weight: 400;
		color: #666666;
		text-align: center;
		margin: 0rpx 0rpx 110rpx 0rpx;
	}

	.skillReview_fd1_1 {
		line-height: 45rpx;
		font-size: 30rpx;
		font-weight: 700;
		color: #000000;
		margin: 0rpx 0rpx 32rpx 0rpx;
	}

	.skillReview_fd1_0 {
		width: 240rpx;
		height: 240rpx;
		margin: 0rpx 0rpx 30rpx 0rpx;
	}

	.skillReview_flex_2 {
		padding: 193rpx 32rpx 0rpx 32rpx;
	}

	.skillReview_fd2_3 {
		border: 1px solid #3090FF;
		background: #FFFFFF;
		border-radius: 36rpx 36rpx 36rpx 36rpx;
		font-size: 28rpx;
		color: #3090FF;
		width: 320rpx;
		height: 72rpx;
		line-height: 72rpx;
	}

	.skillReview_fd2_30089 {
		background: #3090FF;
		border-radius: 36rpx 36rpx 36rpx 36rpx;
		font-size: 28rpx;
		color: rgba(255, 255, 255, 1);
		width: 320rpx;
		height: 72rpx;
		line-height: 72rpx;
		margin-top: 24rpx;
	}

	.skillReview_fd2_2_c0 {
		font-size: 28rpx;
		font-weight: 400;
		color: #333;
		line-height: 40rpx;
	}

	.skillReview_fd2_2 {
		margin: 0rpx 40rpx 60rpx 40rpx;
	}

	.skillReview_fd2_1 {
		line-height: 45rpx;
		font-size: 32rpx;
		font-weight: 700;
		color: #000000;
		margin: 0rpx 0rpx 50rpx 0rpx;
	}

	.skillReview_fd2_0 {
		width: 240rpx;
		height: 240rpx;
		margin: 0rpx 0rpx 30rpx 0rpx;
	}
</style>